﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ClassLibrarySQLite;
using System.Data.SQLite;
namespace WindowsFormsSQliteTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            
        }

        private void Form1_Load(object sender, EventArgs e)
        {


        }

        private void button1_Click(object sender, EventArgs e)
        {
           // int ressc =  ClassDBBusinesses.UpdataUnifyInfosBoardTable(ref con,"dsa1111");
            int dasxc = ClassDBBusinesses.CountUnifyInfosBoardTableDataNumber(ref con);
        }

        SQLiteConnection con = null;

        private void button2_Click(object sender, EventArgs e)
        {
            con = ClassDBBusinesses.CreatDB("192.168.2.1", "20240102134533");
          //  ClassDBBusinesses.CreatUnifyInfosBoardTable(ref con);
            ClassDBBusinesses.CreatWorkStepsJampEndAllDataTable(ref con);
            ClassDBBusinesses.CreatRealDataTable(ref con);
        }

    }
}
